<template>
    <div>
      <UploadImg v-model="picture"/>
    <n-button type="primary" size="medium" @click="getPicture">
    提取图片链接
    </n-button>
    </div>
</template>

<script setup>

import { ref } from 'vue';
import UploadImg from '../components/UploadImg.vue';
const picture = ref('')
const getPicture = ()=>{
  console.log(picture.value);
}
</script>